package com.ydh.company.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.sql.Timestamp;

@ApiModel(description = "订单主表")
public class OrderMain implements Serializable {
  @ApiModelProperty(name="orderMainId",notes = "主表id",dataType = "string",required =true)
  private String orderMainId;
  @ApiModelProperty(name="orderNumber",notes = "订单号",dataType = "string",required =true)
  private String orderNumber;
  @ApiModelProperty(name="clientId",notes = "客户id",dataType = "string",required =true)
  private String clientId;
  @ApiModelProperty(name="orderMainPrice",notes = "订单金额",dataType = "double",required =true)
  private double orderMainPrice;
  @ApiModelProperty(name="out",notes = "出库状态",dataType = "string",required =true)
  private Long out;
  @ApiModelProperty(name="receipt",notes = "发货状态",dataType = "string",required =true)
  private Long receipt;
  @ApiModelProperty(name="orderAuditStatus",notes = "订单审核状态",dataType = "int",required =true)
  private Long orderAuditStatus;
  @ApiModelProperty(name="collectStatus",notes = "收款状态",dataType = "int",required =true)
  private Long collectStatus;
  @ApiModelProperty(name="outStatus",notes = "退款状态",dataType = "int",required =true)
  private Long outStatus;
  @ApiModelProperty(name="orderStatus",notes = "订单状态",dataType = "int",required =true)
  private Long orderStatus;
  @ApiModelProperty(name="orderTime",notes = "下单时间",dataType = "datetime",required =true)
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",locale = "zh",timezone = "GMT+8")
  private Timestamp orderTime;

  public OrderMain() {
  }

  public Timestamp getOrderTime() {
    return orderTime;
  }

  public void setOrderTime(Timestamp orderTime) {
    this.orderTime = orderTime;
  }

  public String getOrderMainId() {
    return orderMainId;
  }

  public void setOrderMainId(String orderMainId) {
    this.orderMainId = orderMainId;
  }


  public String getOrderNumber() {
    return orderNumber;
  }

  public void setOrderNumber(String orderNumber) {
    this.orderNumber = orderNumber;
  }


  public String getClientId() {
    return clientId;
  }

  public void setClientId(String clientId) {
    this.clientId = clientId;
  }


  public double getOrderMainPrice() {
    return orderMainPrice;
  }

  public void setOrderMainPrice(double orderMainPrice) {
    this.orderMainPrice = orderMainPrice;
  }


  public Long getOut() {
    return out;
  }

  public void setOut(Long out) {
    this.out = out;
  }


  public Long getReceipt() {
    return receipt;
  }

  public void setReceipt(Long receipt) {
    this.receipt = receipt;
  }


  public Long getOrderAuditStatus() {
    return orderAuditStatus;
  }

  public void setOrderAuditStatus(Long orderAuditStatus) {
    this.orderAuditStatus = orderAuditStatus;
  }


  public Long getCollectStatus() {
    return collectStatus;
  }

  public void setCollectStatus(Long collectStatus) {
    this.collectStatus = collectStatus;
  }


  public Long getOutStatus() {
    return outStatus;
  }

  public void setOutStatus(Long outStatus) {
    this.outStatus = outStatus;
  }


  public Long getOrderStatus() {
    return orderStatus;
  }

  public void setOrderStatus(Long orderStatus) {
    this.orderStatus = orderStatus;
  }


//  public Timestamp getOrderTime() {
//    return orderTime;
//  }
//
//  public void setOrderTime(Timestamp orderTime) {
//    this.orderTime = orderTime;
//  }

}
